package com.oauth.service.application.service;

import java.util.List;

import com.oauth.service.application.beans.ApplicationServiceBean;
import com.oauth.service.application.beans.MemberApplicationRelation;

public interface ApplicationService {
	public ApplicationServiceBean addNewApplication(
			ApplicationServiceBean pApplicationServiceBean);

	public MemberApplicationRelation addMemberToApplication(Long pMemberId,
			Long pApplicationId);

	public MemberApplicationRelation removeMemberToApplication(Long pMemberId,
			Long pApplicationId);

	public List<ApplicationServiceBean> getMemberApplications(Long pMemberId);
	
	public ApplicationServiceBean getApplicationById(Long pApplicationId);
	
	public List<ApplicationServiceBean>  getUnSubscribedApplications(Long pMemberId);
		
}
